package com.zzy.demo.model;

import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import com.zzy.cms.core.base.model.BaseModelUUIDEntity;

import lombok.Data;

@Entity
@Table(name = "t_music")
@Data
@DynamicUpdate(value = true)
@DynamicInsert(value = true)
public class Music extends BaseModelUUIDEntity{
	
	private static final long serialVersionUID = -104920797628939051L;
	
	private String title;	
	private String author;
	private String url;
	private String fileKey;
	private String pic;
	
	/**
	 * 01 happy 02 child 03.sad 04.quiet 05. love
	 */
	private String style;

}
